package com.usooft.metaTalent.core.system.mapper;

import com.usooft.metaTalent.core.system.entity.Dict;
import com.usooft.metaTalent.core.system.query.DictQuery;
import com.usooft.metaTalent.core.system.wrapper.DictWrapper;
import java.lang.Long;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface DictMapper {
    int add(Dict dict);

    int update(Dict dict);

    int delete(Dict dict);

    Dict get(Long id);

    List<DictWrapper> list(DictQuery query);

    int count(@Param("filter") DictQuery.Filter filter);
}
